let mongoose = require("mongoose");


mongoose
  .connect(
    "mongodb+srv://2334231668:xin123666@cluster0.13va5ah.mongodb.net/2410B"
  )
  .then(() => {
    console.log("连接成功！");
  })
  .catch((err) => {
    console.log("连接失败！");
    console.log(err);
    });

module.exports = mongoose;